package com.example.excel.util;

import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;

/**
 * @author inggg
 * @since 2019/3/27 9:32
 * <p>描述：</p>
 */
public class ThreadConverter extends ClassicConverter {

    @Override
    public String convert(ILoggingEvent iLoggingEvent) {
        return String.format("%05d", Thread.currentThread().getId());
    }

}
